package org.zqy.domain;

import java.io.Serializable;
import java.math.BigInteger;

/**
 * 留言信息实体类
 * 
 * @author qyzhang4
 * 
 */
public class Advice implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -8367936450639431829L;

	/** id ,自动增长 */
	private BigInteger aid;
	/** 留言者邮箱 ,可以为空表示匿名 */
	private String aemail;
	/** 留言类型即对谁留言 */
	private int atype;
	/** 留言内容 */
	private String atxt;
	/** 留言时间 */
	private long atime;
	/** 留言是否得到处理 ,默认为0表示未处理 */
	private int ahandle;
	/** 处理意见 */
	private String aresponse;
	/** 处理人姓名 */
	private String aname;
	/** 处理时间 */
	private long aresonsetime;
	/** 保留字段 ,默认为空 */
	private String aother;

	public Advice() {
	}

	public Advice(String aemail, int atype, String atxt, long atime) {
		this.aemail = aemail;
		this.atype = atype;
		this.atxt = atxt;
		this.atime = atime;
	}

	// get、set方法

	public BigInteger getAid() {
		return aid;
	}

	public void setAid(BigInteger aid) {
		this.aid = aid;
	}

	public String getAemail() {
		return aemail;
	}

	public void setAemail(String aemail) {
		this.aemail = aemail;
	}

	public int getAtype() {
		return atype;
	}

	public void setAtype(int atype) {
		this.atype = atype;
	}

	public String getAtxt() {
		return atxt;
	}

	public void setAtxt(String atxt) {
		this.atxt = atxt;
	}

	public long getAtime() {
		return atime;
	}

	public void setAtime(long atime) {
		this.atime = atime;
	}

	public int getAhandle() {
		return ahandle;
	}

	public void setAhandle(int ahandle) {
		this.ahandle = ahandle;
	}

	public String getAresponse() {
		return aresponse;
	}

	public void setAresponse(String aresponse) {
		this.aresponse = aresponse;
	}

	public String getAname() {
		return aname;
	}

	public void setAname(String aname) {
		this.aname = aname;
	}

	public long getAresonsetime() {
		return aresonsetime;
	}

	public void setAresonsetime(long aresonsetime) {
		this.aresonsetime = aresonsetime;
	}

	public String getAother() {
		return aother;
	}

	public void setAother(String aother) {
		this.aother = aother;
	}

	@Override
	public String toString() {
		return "邮箱:" + aemail + ";时间:" + atime;
	}
}
